import api from './index'
// import qs from 'qs'
// axios
import request from '@/utils/request'
// cardInfo api


// 地图获取区域数据
export function getBranchList(params) {
  return request({
    url: api.getBranchList,
    method: 'get',
    params
  })
}


//地图信息
export function getNearbyShops(params) {
  return request({
    url: api.getNearbyShops,
    method: 'get',
    params,
    hideloading: true
  })
}

//地图信息
export function getNearbyShopsTwo(params) {
  return request({
    url: api.getNearbyShopsTwo,
    method: 'get',
    params,
    hideloading: true
  })
}